﻿<Window x:Class="TemplateGenerator.Controls.EnterValuesControl"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Import values" Height="250" Width="400">
    <Grid Margin="5">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <TextBlock Grid.Row="0" Text="Fill in the values below and integrate them into your generated document..." Margin="0,0,0,5" TextWrapping="Wrap" />

        <Grid Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>

            <TextBlock Grid.Column="0" Grid.Row="0" Text="Title: " />
            <TextBlock Grid.Column="0" Grid.Row="1" Text="Subtitle:         " />
            <TextBlock Grid.Column="0" Grid.Row="2" Text="School: " />
            <TextBlock Grid.Column="0" Grid.Row="3" Text="Class: " />
            <TextBlock Grid.Column="0" Grid.Row="4" Text="Author: " />
            <TextBlock Grid.Column="0" Grid.Row="5" Text="Version: " />

            <TextBox Grid.Column="1" Grid.Row="0" Text="" x:Name="txtTitle" TabIndex="0"/>
            <TextBox Grid.Column="1" Grid.Row="1" Text="" x:Name="txtSubtitle" TabIndex="1"/>
            <TextBox Grid.Column="1" Grid.Row="2" Text="" x:Name="txtSchool" TabIndex="2"/>
            <TextBox Grid.Column="1" Grid.Row="3" Text="" x:Name="txtClass" TabIndex="3"/>
            <TextBox Grid.Column="1" Grid.Row="4" Text="" x:Name="txtAuthor" TabIndex="4"/>
            <TextBox Grid.Column="1" Grid.Row="5" Text="0.1" x:Name="txtVersion" TabIndex="5"/>
        </Grid>

        <StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right" >
            <Button Content="Cancel" HorizontalAlignment="Right" Margin="5" Click="BtnClose" />
            <Button  Content="Import values" HorizontalAlignment="Right" Margin="0,5,5,5" x:Name="btnImport" Click="btnImport_Click" TabIndex="10"/>
        </StackPanel>

    </Grid>
</Window>
